package com.monlyu.vo;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import com.monlyu.annotation.Comment;

/*******************************************************************************
 * 
 * <b>功能描述☞稿件联合申报表</b><br>
 * 
 * <b>项目名☞</b>NewsSys<br>
 * <b>文件路径☞</b>com.monlyu.vo.GaoJian2Reporter.java<br>
 * <b>开发日期☞</b>2010-2-22 <br>
 * 
 * @author skw
 * @since JDK 5
 * @version 1.0.1
 * 
 ******************************************************************************/
@Entity(name = "t_GaoJian2Reporter")
public class GaoJian2Reporter extends BaseVo {

	@Id
	@Column(name = "g2r_id")
	@Comment(common = "编号")
	private Long id;

	@ManyToOne
	@JoinColumn(name = "g2r_manuscript", nullable = false)
	@Comment(common = "稿件")
	private Manuscript manuscript;

	@ManyToOne
	@JoinColumn(name = "g2r_reporter", nullable = false)
	@Comment(common = "记者")
	private User reporter;

	@Column(name = "g2r_score", scale = 1)
	@Comment(common = "分数")
	private float score;

	@ManyToOne
	@JoinColumn(name = "g2r_auditor")
	@Comment(common = "打分人")
	private User auditor;

	@Column(name = "g2r_scoreDate")
	@Comment(common = "打分日期")
	private Date scoreDate;

	@Column(name = "g2r_fgCount")
	@Comment(common = "发稿条数")
	private float fgCount;

	public float getFgCount() {
		return fgCount;
	}

	public void setFgCount(float fgCount) {
		this.fgCount = fgCount;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Manuscript getManuscript() {
		return manuscript;
	}

	public void setManuscript(Manuscript manuscript) {
		this.manuscript = manuscript;
	}

	public User getReporter() {
		return reporter;
	}

	public void setReporter(User reporter) {
		this.reporter = reporter;
	}

	public User getAuditor() {
		return auditor;
	}

	public void setAuditor(User auditor) {
		this.auditor = auditor;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	public Date getScoreDate() {
		return scoreDate;
	}

	public void setScoreDate(Date scoreDate) {
		this.scoreDate = scoreDate;
	}

}
